#pragma once

#include "stdafx.h"
#include <Windows.h>
#include <WindowsX.h>
#include <wchar.h>

HWND main_hwnd;

void errorMessage(WCHAR* str)
{
	MessageBox(main_hwnd, str, L"error", MB_OK|MB_ICONERROR);
	system("pause");
	exit(1);
}